package service.impl;

import service.Button;

/**
 * Windows风格按钮 - 具体产品A1
 */
public class WindowsButton implements Button {
    private String text;
    
    @Override
    public void render() {
        System.out.println("渲染Windows风格按钮: " + text);
        System.out.println("  - 直角边框");
        System.out.println("  - 灰色背景");
        System.out.println("  - 标准Windows字体");
    }
    
    @Override
    public void onClick() {
        System.out.println("Windows按钮被点击: 发出系统提示音");
    }
    
    @Override
    public void setText(String text) {
        this.text = text;
    }
}



